USE [Training]
GO

IF NOT EXISTS (SELECT * from dbo.sysobjects WHERE id = OBJECT_ID(N'dbo.training_api_DepartmentDelete'))
	EXEC('CREATE PROC dbo.training_api_DepartmentDelete AS')
GO

ALTER PROC dbo.training_api_DepartmentDelete
	@DepartmentID	int
AS
	DELETE FROM Department
	WHERE DepartmentID = @DepartmentID
